package com.mbl.base.modular.mall.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.mbl.base.core.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 关键字表
 * </p>
 *
 * @author lwj
 * @since 2020-03-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mbl_mall_keyword")
@ApiModel(value="Keyword对象", description="关键字表")
public class Keyword extends BaseEntity<Keyword> {

    @ApiModelProperty(value = "关键字")
    private String keyword;

    @ApiModelProperty(value = "关键字的跳转链接")
    private String url;

    @ApiModelProperty(value = "是否是热门关键字")
    private Boolean isHot;

    @ApiModelProperty(value = "是否是默认关键字")
    private Boolean isDefault;

    @ApiModelProperty(value = "排序")
    private Integer sortOrder;
}
